package xiao.trip.dao;


import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;
import xiao.trip.Do.helpDO2;

import java.util.List;
@Service
@Mapper
public interface UserDAOByXML2 {
    @Select("select * from moneyhelp")
    List<helpDO2> selectAllmoneyhelp();

    @Insert("insert into moneyhelp values (#{moneyhelp},#{money},#{starttime},#{endtime},#{telephone})")
    Integer insertmonethelp(String moneyhelp,String money,String starttime,String endtime,String telephone);

//    @Select("select * from moneyhelp")
//    List<helpDO> selectAllmoneyhelp();

}
